package com.example.novelsys.dao;

import java.util.List;

import com.example.novelsys.entity.Categories;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


//小说分类的持久CRUD
@Mapper
public interface CategoriesDao {
    
	  //查询所有分类信息
	  @Select("select * from categories")
	  public List<Categories> queryAll();
}
